package com.chentongwei.common.enums;

/**
 * 是否删除状态
 *
 * @author TongWei.Chen 2017-09-28 13:29:53
 */
public enum DelFlagEnum {
    /** 已删除 */
    IS_DELETE(0, "已删除"),
    /** 未删除 */
    NO_DELETE(1, "未删除")
    ;

    //状态
    private int code;
    //消息
    private String msg;

    private DelFlagEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
